
<div class="pay" id="buy-payment">

    <p class="title">支付方式</p>

    <div class="payInfo-wrap fix">
        <{foreach from=$payment item="p" name="payment"}>
        <label class="payInfo fix">
            <img src="<{$p.iconUrl}>" class="img" alt="">
            <span class="text"><{$p.name}></span>
                <input type="radio" name="paymentId" value="<{$p.id}>" class="radio" <{if $smarty.foreach.payment.index == 0}>checked="checked"<{/if}>>
        </label>
        <{/foreach}>
     </div>

</div>
